import {combineReducers} from 'redux'
import ArticleReducer from './article'
import ChannelReducer from './channel'
import SearchReducer from './search'
import UserReducer from './user'
//管理reducer，用来做合并
const rootReducer = combineReducers({
  user:UserReducer,
  channel:ChannelReducer,
  search:SearchReducer,
  article:ArticleReducer
})

export default rootReducer